<template>
  <div slot="header" class="clearfix">
    <span>职位管理</span>
    <el-button
      class="filter-item"
      size="mini"
      style="float: right;padding: 4px 10px"
      type="primary"
      icon="el-icon-plus"
      @click="$refs.form.dialog = true">新增
    </el-button>
    <eForm ref="form" :is-add="true" :dict_this="dict_this"/>
  </div>
</template>

<script>
import checkPermission from '@/utils/permission' // 权限判断函数
import eForm from './form'
export default {
  components: { eForm },
  props: {
    query: {
      type: Object,
      required: true
    },
    dict_this: {
      type: Object,
      required: true
    }
  },
  data() {
    return {
    }
  },
  methods: {

  }
}
</script>
